package com.ysstech.finance.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 财务科目和辅助项关系表
 * </p>
 *
 * @author lishuangliang
 * @since 2022-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("fin_subject_subject_auxilary")
public class SubjectSubjectAuxilary extends Model<SubjectSubjectAuxilary> {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;

    /**
     * 科目编码
     */
    @TableField("SUBJECT_ID")
    private String subjectId;
    /**
     * 核算项编码
     */
    @TableField("ADJUST_CODE")
    private String adjustCode;
    /**
     * 辅助项编码
     */
    @TableField("AUXILARY_CODE")
    private String auxilaryCode;

    /**
     * 辅助项值
     */
    @TableField("AUXILARY_VALUE")
    private String auxilaryValue;
    /**
     * 核算方案编码
     */
    @TableField("PROJECT_ID")
    private String projectId;

    @TableField("STATUS")
    private Integer status;

    @TableField("ADD_TIME")
    private LocalDateTime addTime;

    @TableField("ADD_USER")
    private String addUser;

    @TableField("EDIT_TIME")
    private LocalDateTime editTime;

    @TableField("EDIT_USER")
    private String editUser;

    @TableField("DELETE_REASON")
    private String deleteReason;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
